package com.sinosoft.emplmis.labor.web.dto;

import java.util.Date;

import com.sinosoft.framework.core.common.utils.ObjectUtil;
import com.sinosoft.framework.core.common.utils.PageParams;
/**
 * 劳动力信息
 * @author xn
 *
 */

public class LaborInfoData extends PageParams { 
	private String laborinfoId; //主键
	
    private String name; //姓名
    
    private String sex; //性别

    private String idcard; //身份证号

    private String education; //学历
    
    private String phone; //联系电话
    
    private String status; //就业状态
    
    private String company; //所在单位
    
    private String unemploymentdate; //失业时间
    
    private String street; //街道

    private String community; //社区
    
    private String remark; //备注

    private String residenceAddress; //户籍地址
    
    private String losetouchtime; //失联时间
    
    private String recentdate; //最近联系时间

    private String contactperson; //联系人
    
    private Date inputdate; //录入时间
    
    private Date modifydate; //修改时间
    

	public String getLaborinfoId() {
		return laborinfoId;
	}

	public void setLaborinfoId(String laborinfoId) {
		this.laborinfoId = laborinfoId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getIdcard() {
		return idcard;
	}

	public void setIdcard(String idcard) {
		this.idcard = idcard;
	}

	public String getEducation() {
		return education;
	}

	public void setEducation(String education) {
		this.education = education;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getCompany() {
		return company;
	}

	public void setCompany(String company) {
		this.company = company;
	}

	public String getUnemploymentdate() {
		return unemploymentdate;
	}

	public void setUnemploymentdate(String unemploymentdate) {
		this.unemploymentdate = unemploymentdate;
	}

	public String getStreet() {
		return street;
	}

	public void setStreet(String street) {
		this.street = street;
	}

	public String getCommunity() {
		return community;
	}

	public void setCommunity(String community) {
		this.community = community;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getResidenceAddress() {
		return residenceAddress;
	}

	public void setResidenceAddress(String residenceAddress) {
		this.residenceAddress = residenceAddress;
	}

	public String getLosetouchtime() {
		return losetouchtime;
	}

	public void setLosetouchtime(String losetouchtime) {
		this.losetouchtime = losetouchtime;
	}

	public String getRecentdate() {
		return recentdate;
	}

	public void setRecentdate(String recentdate) {
		this.recentdate = recentdate;
	}

	public String getContactperson() {
		return contactperson;
	}

	public void setContactperson(String contactperson) {
		this.contactperson = contactperson;
	}

	public Date getInputdate() {
		return inputdate;
	}

	public void setInputdate(Date inputdate) {
		this.inputdate = inputdate;
	}

	public Date getModifydate() {
		return modifydate;
	}

	public void setModifydate(Date modifydate) {
		this.modifydate = modifydate;
	}

	/**
     * 劳动力信息实体类（LaborInfoEntity）entity对象转换为劳动力信息传输对象(LaborInfoData)dtoto
     * @param 劳动力信息传输对象dtoto
     * @param from 劳动力信息实体类entity
     */
    public void toEntityData(LaborInfoData dtoto,Object from)
    {
    	try {
			ObjectUtil.oldToNew(dtoto, from, "");
		} catch (Exception e) {
			e.printStackTrace();
		}
    }
	
}
